Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jul 10, 2023

  • Add PyUnicode_AsUTF8Resource()
  • Add PyBytes_AsStringResource()
  • Add PySequence_AsObjectArray()
  • Add Include/pyresource.h
  • Add PyResource_Release() to the stable ABI
  • compute_abstract_methods(): Replace PySequence_Fast() with PySequence_AsObjectArray()

📚 Documentation preview 📚: https://cpython-previews--106596.org.readthedocs.build/

@vstinner
Copy link
Member Author

Proof-of-Concept PR for issue #106592 PyResource API and issue #106593 PyObject_AsObjectArray() API.

If these issues design is accepted, I will write a clean PR with doc and tests.

* Add PyUnicode_AsUTF8Resource()
* Add PyBytes_AsStringResource()
* Add PySequence_AsObjectArray()
* Add Include/pyresource.h
* Add PyResource_Close() to the stable ABI
* compute_abstract_methods(): Replace PySequence_Fast()
  with PySequence_AsObjectArray()
@vstinner
Copy link
Member Author

I close my PR: #106593 (comment)

@vstinner vstinner closed this Aug 26, 2023
@vstinner vstinner deleted the seq_asobjarray branch August 26, 2023 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants